Xbasic
MathUtil::DecimalRemainder Method
Syntax
.Remainder as C (one as C, two as C)
Arguments
- oneCharacter
The dividend.
- twoCharacter
The divisor.
Returns
- resultCharacter
Returns the remainder (the fractional portion) after dividing one by two.
Description
Computes the remainder after dividing two values.
Example
? MathUtil::Decimal::Remainder("3.12","3")
= "0.12"